package com.stock.mapper;

import com.stock.entity.StockMarketLogPrice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
* @author 45215
* @description 针对表【stock_market_log_price(股票大盘 开盘价与前收盘价流水表)】的数据库操作Mapper
* @createDate 2025-10-21 14:31:09
* @Entity com.stock.entity.StockMarketLogPrice
*/
@Mapper
public interface StockMarketLogPriceMapper {
    /**
     * 根据国内大盘id和当前时间 查询大盘交易信息表
     *
     * @param ids  大盘id集合
     * @param last 当前时间
     * @return List<StockMarketLogPrice>
     */
    List<StockMarketLogPrice> selectByIdsAndDateTime(
            @Param("ids") List<String> ids,
            @Param("last") LocalDate last
    );
}




